package com.suning.sawp.dto.bi;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

/**
 * 
 * 〈一句话功能简述〉单品销售详情列表<br>
 * 〈功能详细描述〉
 *
 * @author 17033093
 * @see [相关类/方法]（可选）
 * @since [产品/模块版本] （可选）
 */
public class CmmdtySaleDetailsDto implements Serializable {

    private static final long serialVersionUID = 538712418701197831L;

    /**
     * 品类编码
     */
    private String cateCode = "";

    /**
     * 品类名称
     */
    private String cateName = "";
    /**
     * 品牌编码
     */
    private String brandCode = "";

    /**
     * 品牌名称
     */
    private String brandName = "";

    /**
     * 销售总金额
     */
    private BiSaleAmountDto totalSaleAmount = BiSaleAmountDto.valueOf(BigDecimal.ZERO);

    /**
     * 销售总数量
     */
    private String totalSaleCnt = "0";

    /**
     * 商品列表
     */
    private List<SaleCmmdtyDto> cmmdyList = new ArrayList<SaleCmmdtyDto>();

    /**
     * 商品总条数
     */
    private String totalSize = "0";

    public String getCateCode() {
        return cateCode;
    }

    public void setCateCode(String cateCode) {
        this.cateCode = cateCode;
    }

    public String getCateName() {
        return cateName;
    }

    public void setCateName(String cateName) {
        this.cateName = cateName;
    }

    public String getBrandCode() {
        return brandCode;
    }

    public void setBrandCode(String brandCode) {
        this.brandCode = brandCode;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public BiSaleAmountDto getTotalSaleAmount() {
        return totalSaleAmount;
    }

    public void setTotalSaleAmount(BiSaleAmountDto totalSaleAmount) {
        this.totalSaleAmount = totalSaleAmount;
    }

    public String getTotalSaleCnt() {
        return totalSaleCnt;
    }

    public void setTotalSaleCnt(String totalSaleCnt) {
        this.totalSaleCnt = totalSaleCnt;
    }

    public List<SaleCmmdtyDto> getCmmdyList() {
        return cmmdyList;
    }

    public void setCmmdyList(List<SaleCmmdtyDto> cmmdyList) {
        this.cmmdyList = cmmdyList;
    }

    public String getTotalSize() {
        return totalSize;
    }

    public void setTotalSize(String totalSize) {
        this.totalSize = totalSize;
    }

    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("CmmdtySaleDetailsDto [cateCode=");
        builder.append(cateCode);
        builder.append(", cateName=");
        builder.append(cateName);
        builder.append(", brandCode=");
        builder.append(brandCode);
        builder.append(", brandName=");
        builder.append(brandName);
        builder.append(", totalSaleAmount=");
        builder.append(totalSaleAmount);
        builder.append(", totalSaleCnt=");
        builder.append(totalSaleCnt);
        builder.append(", cmmdyList=");
        builder.append(cmmdyList);
        builder.append(", totalSize=");
        builder.append(totalSize);
        builder.append("]");
        return builder.toString();
    }

}
